<div class="portlet">
  <div class="portlet-header">
    <h1><%=t ".title"%></h1>
  </div>
  <div class="portlet-content">
    <b><%= t 'lbl_requiered_field' %></b>
    <br/>
    <br/>
      <% form_tag contact_us_send_path, :method => 'post' do %>
        <table style="border: none">
          <tr>
            <td><%= label_tag t('.name') %> </td>
            <td> <%= text_field_tag :contact_us_name, params[:contact_us_name], {:size => 50}  %> </td>
            <td style="color: red"> <%= @name_error %></td>
          </tr>
          <tr>
            <td><%= label_tag t('.email') %></td>
            <td><%= text_field_tag :contact_us_email, params[:contact_us_email], {:size => 50}  %></td>
            <td style="color: red"> <%= @email_error %></td>
          </tr>
          <tr>
            <td><%= label_tag t('.phone') %></td>
            <td><%= text_field_tag :contact_us_phone, params[:contact_us_phone], {:size => 50}  %></td>
            <td style="color: red"> <%= @phone_error %></td>
          </tr>
          <tr>
            <td>
              <%= label_tag t('.company') %>
            </td>
            <td>
              <%= text_field_tag :contact_us_company, params[:contact_us_company], {:size => 50}  %>
            </td>
          </tr>
          <tr>
            <td>
              <%= label_tag t('.subject') %>
            </td>
            <td><%= text_field_tag :contact_us_subject, params[:contact_us_subject], {:size => 61}  %></td>
            <td style="color: red"> <%= @subject_error %></td>
          </tr>
          <tr>
            <td style="vertical-align: top"><%= label_tag t('.text') %></td>
            <td><%= text_area_tag(:contact_us_text, params[:contact_us_text], :size => "46x6") %></td>
            <td style="color: red"> <%= @text_error %></td>
          </tr>
        </table>
        <br/>
        <div class="line-buttons" style="text-align: left">
          <%= submit_tag t('.btn_send_query'), :name => nil %>
        </div>
        <% end %>
  </div>

</div>